# CMakeLists
# Author(s): xuming.Wong <xuming.Wong@gmail.com>

#-----------------------------------------------------------------------------
# Third party dependency CEGUI Silly Image Codec
# Setup the CEGUI Silly Image Codec lib sources

FILE(GLOB SRC *.cpp)

SET(INC .
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base
	${PROJECT_SOURCE_DIR}/Dependencies/cegui/Base/WindowRendererSets/Falagard
	${LIBDIR}/CeguiDependencies/include
)

#add win32 preprocessors
if(WIN32)
#add this processor for have CEGUI include config.h
add_definitions(-DSILLY_STATIC)
add_definitions(-DHAVE_CONFIG_H)
endif()

BUILD_LIB(CEGUISILLYImageCodec "${SRC}" "${INC}")

